import { createRouter,createWebHashHistory } from 'vue-router'
import Game from '../views/Game.vue'
import Edit from '../views/Edit.vue'

export const router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {
            path:'/',
            redirect:'Game'
        },
        {
            path:'/Game',
            component:Game,
            name:'Game'
        },
        {
            path:'/Edit',
            component:Edit,
            name:'Edit'
        }
    ]
})


